package com.dhecp.core.layui;

import com.alibaba.fastjson.JSON;

import java.util.List;

/**
 * @author 网格数据对象实体
 *
 * @param <T>
 */
public class GridDataModel<T> {

	public int code = 0;
	public String msg = "";
	public long count = 0;
	private List<T> data;
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public long getCount() {
		return count;
	}
	public void setCount(long count) {
		this.count = count;
	}
	public List<T> getData() {
		return data;
	}
	public void setData(List<T> data) {
		this.data = data;
	}
	public String toJSONString() {
		return JSON.toJSONString(this);
	}
}
